package com.dream.demo.common;

import lombok.Getter;

@Getter
public enum ResultEnum {
    SUCCESS(Constant.CODE,"操作成功"),
    FAIL(Constant.ERROR_CODE,"操作失败"),;
    private int code;

    private String msg;

    ResultEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

}
